import sphRequest from "@/utils/sphRequest"

// 加入购物车与修改商品个数的接口
export const reqAddCartOrUpdateSkuNum=(skuId,skuNum) => sphRequest
({
    url:`/cart/addToCart/${skuId}/${skuNum}`,
    method:'post'
})
//获取商品详情接口
export const reqDetailList = (skuId) => sphRequest({ url: `/item/${skuId}`, method: 'get' });